const roles = [
  {
    searchValue: null,
    createBy: null,
    createTime: null,
    updateBy: null,
    updateTime: null,
    remark: null,
    params: {},
    roleId: 1,
    roleName: '系统管理员',
    roleKey: 'admin',
    roleSort: '1',
    dataScope: '1',
    menuCheckStrictly: false,
    deptCheckStrictly: false,
    status: '0',
    delFlag: null,
    flag: false,
    menuIds: null,
    deptIds: null,
    admin: true
  }
]
const router = [
  {
    id: '100',
    name: '系统管理-formal',
    type: 1,
    permissionStr: '#',
    parentId: '0',
    orderNum: 1,
    icon: '#',
    status: 0,
    children: [
      {
        id: '101',
        name: '用户管理',
        type: 2,
        permissionStr: 'menu:sysUser',
        parentId: '100',
        orderNum: 1,
        icon: '#',
        status: 0,
        children: [
          {
            id: '102',
            name: '查询用户',
            type: 3,
            permissionStr: 'sysUser:post:search',
            parentId: '101',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '103',
            name: '新增用户',
            type: 3,
            permissionStr: 'sysUser:post:add',
            parentId: '101',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '104',
            name: '修改用户',
            type: 3,
            permissionStr: 'sysUser:put:update',
            parentId: '101',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '105',
            name: '删除用户',
            type: 3,
            permissionStr: 'sysUser:delete:delete',
            parentId: '101',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '106',
            name: '重置密码',
            type: 3,
            permissionStr: 'sysUser:put:resetPwdByAdmin',
            parentId: '101',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '107',
            name: '解锁账号',
            type: 3,
            permissionStr: 'sysUser:post:unLock',
            parentId: '101',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '108',
            name: '修改组织',
            type: 3,
            permissionStr: 'sysUser:put:updateOrgManager',
            parentId: '101',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          }
        ]
      },
      {
        id: '109',
        name: '角色管理',
        type: 2,
        permissionStr: 'menu:sysRole',
        parentId: '100',
        orderNum: 4,
        icon: '#',
        status: 0,
        children: [
          {
            id: '110',
            name: '查询角色',
            type: 3,
            permissionStr: 'sysRole:put:findPage',
            parentId: '109',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '111',
            name: '新增角色',
            type: 3,
            permissionStr: 'sysRole:put:add',
            parentId: '109',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '112',
            name: '修改角色',
            type: 3,
            permissionStr: 'sysRole:put:update',
            parentId: '109',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '113',
            name: '删除角色',
            type: 3,
            permissionStr: 'sysRole:delete:delete',
            parentId: '109',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '114',
            name: '菜单权限',
            type: 3,
            permissionStr: 'sysRoleMenu:add:add',
            parentId: '109',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          }
        ]
      },
      {
        id: '115',
        name: '菜单管理',
        type: 2,
        permissionStr: 'menu:sysMenu',
        parentId: '100',
        orderNum: 2,
        icon: '#',
        status: 0,
        children: [
          {
            id: '116',
            name: '查询菜单',
            type: 3,
            permissionStr: 'sysMenu:post:findTree',
            parentId: '115',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '117',
            name: '新增菜单',
            type: 3,
            permissionStr: 'sysMenu:post:add',
            parentId: '115',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '118',
            name: '修改菜单',
            type: 3,
            permissionStr: 'sysMenu:put:update',
            parentId: '115',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '119',
            name: '删除菜单',
            type: 3,
            permissionStr: 'sysMenu:delete:delete',
            parentId: '115',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          }
        ]
      },
      {
        id: '120',
        name: '组织管理',
        type: 2,
        permissionStr: 'menu:sysOrgManager',
        parentId: '100',
        orderNum: 3,
        icon: '#',
        status: 0,
        children: [
          {
            id: '121',
            name: '查询组织',
            type: 3,
            permissionStr: 'sysOrgManager:post:findTree',
            parentId: '120',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '122',
            name: '新增组织',
            type: 3,
            permissionStr: 'sysOrgManager:post:add',
            parentId: '120',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '123',
            name: '修改组织',
            type: 3,
            permissionStr: 'sysOrgManager:put:update',
            parentId: '120',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '124',
            name: '删除组织',
            type: 3,
            permissionStr: 'sysOrgManager:delete:delete',
            parentId: '120',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          }
        ]
      },
      {
        id: '125',
        name: '字典管理',
        type: 2,
        permissionStr: 'menu:sysDictType',
        parentId: '100',
        orderNum: 5,
        icon: '#',
        status: 0,
        children: [
          {
            id: '126',
            name: '查询字典类型',
            type: 3,
            permissionStr: 'sysDictType:post:findPage',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '127',
            name: '新增字典类型',
            type: 3,
            permissionStr: 'sysDictType:post:add',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '128',
            name: '修改字典类型',
            type: 3,
            permissionStr: 'sysDictType:put:update',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '129',
            name: '删除字典类型',
            type: 3,
            permissionStr: 'sysDictType:delete:delete',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '130',
            name: '查询字典值',
            type: 3,
            permissionStr: 'sysDictData:post:findPage',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '131',
            name: '新增字典值',
            type: 3,
            permissionStr: 'sysDictData:post:add',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '132',
            name: '修改字典值',
            type: 3,
            permissionStr: 'sysDictData:put:update',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '133',
            name: '删除字典值',
            type: 3,
            permissionStr: 'sysDictData:delete:delete',
            parentId: '125',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          }
        ]
      },
      {
        id: '134',
        name: '参数管理',
        type: 2,
        permissionStr: 'menu:sysParamSet',
        parentId: '100',
        orderNum: 6,
        icon: '#',
        status: 0,
        children: [
          {
            id: '135',
            name: '查询参数',
            type: 3,
            permissionStr: 'sysParamSet:post:findPage',
            parentId: '134',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '136',
            name: '新增参数',
            type: 3,
            permissionStr: 'sysParamSet:post:add',
            parentId: '134',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '137',
            name: '修改参数',
            type: 3,
            permissionStr: 'sysParamSet:put:update',
            parentId: '134',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          },
          {
            id: '138',
            name: '删除参数',
            type: 3,
            permissionStr: 'sysParamSet:delete:delete',
            parentId: '134',
            orderNum: 1,
            icon: '#',
            status: 0,
            children: null
          }
        ]
      },
      {
        id: '139',
        name: '日志管理',
        type: 1,
        permissionStr: 'menu:sysLoginInfo',
        parentId: '100',
        orderNum: 7,
        icon: '#',
        status: 0,
        children: null
      }
    ]
  }
]
export default [
  {
    url: '/dev_api/imgCaptcha',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: {
          img: '/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj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73/nlb/wDfLf40v/CUXv8Azyt/++W/xo9tEPbROqSBVOQKnCjFcf8A8JVff88rf/vlv8aX/hK77/nlbf8AfLf40e2iHtonX+Sh7CpUQL0FcZ/wlt//AM8bb/vlv8aX/hL9Q/5423/fLf8AxVHtoh7aJ2wFPFcP/wAJhqH/ADxtf++W/wDiqX/hMtR/542v/fLf/FUe2iHtonc4yKTyFJzgVxH/AAmeo/8APG1/74b/AOKpf+E11L/nhaf98N/8VR7aIe2id4ihRxUgrgP+E21L/nhaf98N/wDFUv8AwnGp/wDPC0/74b/4qj20Q9tE9BFVdX/5Aeof9e0n/oJriv8AhOdT/wCeFp/3w3/xVR3PjPUbq1mt3htQkqMjFVbIBGOPmqZVo2YpVY2Z/9k=',
          uuid: '1589787398408052736'
        },
        success: true
      }
    }
  },
  {
    url: '/dev_api/accountLogin',
    method: 'post',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: {
          token:
            'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE1ODk3OTM5Mzc5Njk3NTgyMDgifQ.JCX6VHEdiiiBgFAHcRGfhQDMpypXmuKVVv_TPLngwe9kFgBhN4sIsbtNLlGvM1NIGk0Ud1AKJDZaP8yJTKFifg'
        },
        success: true
      }
    }
  },
  {
    url: '/dev_api/sysUser/getUserInfo',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: {
          params: {},
          id: '1588530524761149442',
          userName: 'lilong19',
          password: null,
          realName: '李龙',
          idCard: '370181199210122341',
          email: '805013595@qq.com',
          phoneNumber: '13235810180',
          sysOrgManagerId: '1',
          sysOrgManagerName: '湖南省卫健委',
          orgId: null,
          status: 0,
          lastLoginDate: '2022-12-19T03:37:56.000+00:00',
          lastUpdatePasswordTime: '2022-12-19T03:38:27.000+00:00',
          isDel: 0,
          createId: '1588530524761149442',
          createBy: '李龙',
          createTime: '2022-11-17T05:54:46.000+00:00',
          updateId: '1588530524761149442',
          updateBy: '李龙',
          updateTime: '2022-11-17T05:54:46.000+00:00'
        },
        success: true
      }
    }
  },
  {
    url: '/dev_api/sysMenu/findCurrentUserTree',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: router,
        success: true
      }
    }
  },
  {
    url: '/dev_api/sysUserRole/findCurrentUserRole',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: [
          {
            id: '186',
            sysUserId: '1592034212159016962',
            sysRoleId: '1439064087072911463',
            sysRoleNAME: '测试角色631333',
            isActive: 1
          }
        ],
        success: true
      }
    }
  },
  {
    url: '/dev_api/sysUser/findIsForceResetPwd',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: {
          flag: false
        },
        success: true
      }
    }
  },


  {
    url: '/api/createUser',
    method: 'post',
    response: ({ body }) => {
      return {
        code: 0,
        message: 'ok',
        data: null
      }
    }
  },
  {
    url: '/dev_api/phoneLogin',
    method: 'post',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: {
          token:
            'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE1ODk4MDcwMjc0MDI2MjUwMjQifQ.pCjkMgm-x9nnosB88gRrXvP0K0FyCQ-DnqRZb3KYhdfh_KmvOtHUsyihC6Zpp064JG3Ni7Ed7XRqgOWDT3uNhw'
        },
        success: true
      }
    }
  },
  {
    url: '/dev_api/phoneCaptcha',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: {
          短信接口平台状态: 298391701
        },
        success: true
      }
    }
  },
  {
    url: '/dev_api/forgetPassword/byPhone',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        msg: null,
        data: {
          短信接口平台状态: 298664161
        },
        success: true
      }
    }
  },
  {
    url: '/dev_api/logout',
    method: 'post',
    response: ({ body }) => {
      return {
        code: 200,
        message: 'ok',
        data: {}
      }
    }
  }
]
